package Servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import Info.XiangmuI;
import Manage.XiangmuM;


public class UpdateXiangmuS extends HttpServlet{
	protected void service(HttpServletRequest request, HttpServletResponse response) 
			throws ServletException, IOException {
	request.setCharacterEncoding("utf-8");
	response.setContentType("text/html;charset=utf-8");
	String xnum = request.getParameter("xnum");
	XiangmuM tm = new XiangmuM();
	XiangmuI x = tm.Find(xnum);	
	request.setAttribute("x", x);
	request.getRequestDispatcher("UpdateXiangmu.jsp").forward(request, response);
	}
}
